package net.scrumtool.view;

import net.scrumtool.technics.Utils;

import org.eclipse.jface.viewers.ComboViewer;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.TableViewerColumn;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.FormAttachment;
import org.eclipse.swt.layout.FormData;
import org.eclipse.swt.layout.FormLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.TabFolder;
import org.eclipse.swt.widgets.TabItem;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.widgets.ToolBar;
import org.eclipse.swt.widgets.ToolItem;
import org.eclipse.wb.swt.SWTResourceManager;

public class OverviewProduct {

	protected Shell shell;
	private Label lblInfoUser;
	private TabFolder tabFolderOverviewProduct;
	private Composite compositeGrpOverviewProduct;
	private Group grpOverviewProduct;
	private Composite compositeSummaryOverviewProduct;
	private Composite composite_1;
	private Label lblRecentSprints;
	private Composite composite_2;
	private Label lblTodo;
	private Composite composite_3;
	private Table tableToDoOverview;
	private Table tableInProgressOverview;
	private Table tableDoneOverview;
	private TableViewer tableViewerToDoOverview;
	private TableViewer tableViewerInProgressOverview;
	private TableViewer tableViewerDoneOverview;
	private Composite compositeRecent;
	private Composite compositeInProgress;
	private Composite compositeDone;
	private TableColumn tblclmnUserstory;
	private TableColumn tblclmnUserstory_1;
	private TableColumn tblclmnUserstory_2;
	private Table tableRecentSprintOverviewProduct;
	private TableViewer tableViewerRecentSprintOverviewProduct;
	private Label BackOverviewProduct;
	private Label linkProfile;
	private Label linkLogout;
	private Composite composite_logout;
	private Composite composite_profile;
	private Label lblSprintsSummaryOverviewProduct;
	private Composite compositeBacklog;
	private Table tableBacklog;
	private TableViewer tableViewerBacklog;
	private Text txtNom;
	private Text txtDescription;
	private Label lblSprint;
	private Label lblPointsAttribu;
	private Label lblPriority;
	private Text txtPtAwarded;
	private Text txtPriority;
	private Button btnToDo;
	private ToolItem tltmAddUserstory;
	private Button btnValider;
	private Label lblTotalPointSprint;
	private Button btnInProgress;
	private Button btnDone;
	private ToolItem tltmModifieUserstory;
	private ToolItem tltmRemoveUserStory;
	private ComboViewer comboViewerSprints;
	private Group grpBacklog;
	private TableColumn tblclmnStatus;
	private TableViewerColumn tableViewerColumnStatus;
	private Composite composite_6;

	/**
	 * Open the window.
	 */
	public void open() {
		Display display = Display.getDefault();
		shell.open();
		shell.layout();
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch()) {
				display.sleep();
			}
		}
	}

	/**
	 * @wbp.parser.entryPoint
	 */
	public void init() {
		createContents();
	}

	/**
	 * Create contents of the window.
	 */
	protected void createContents() {
		shell = new Shell(SWT.CLOSE);
		shell.setSize(852, 636);
		shell.setText("SCRUMTOOL - Developed by TEAMSIO - version beta");
		shell.setLayout(new FormLayout());
		shell.setImage(Utils.getImage(Utils.IMG_ICON));

		// Composite titre
		Composite compositePrincipalOverviewProduct = new Composite(shell, SWT.NONE);
		compositePrincipalOverviewProduct.setLayout(new FormLayout());
		FormData fd_compositePrincipalOverviewProduct = new FormData();
		fd_compositePrincipalOverviewProduct.bottom = new FormAttachment(0, 99);
		fd_compositePrincipalOverviewProduct.top = new FormAttachment(0);
		fd_compositePrincipalOverviewProduct.left = new FormAttachment(0);
		fd_compositePrincipalOverviewProduct.right = new FormAttachment(100);
		compositePrincipalOverviewProduct.setLayoutData(fd_compositePrincipalOverviewProduct);
		compositePrincipalOverviewProduct.setBackground(Utils.COLOR_BAR_1);
		Composite compositeNom = new Composite(compositePrincipalOverviewProduct, SWT.NONE);

		// Composite Du nom du titre
		FormData fd_compositeNom = new FormData();
		fd_compositeNom.left = new FormAttachment(0, 10);
		fd_compositeNom.top = new FormAttachment(0, 10);
		fd_compositeNom.bottom = new FormAttachment(0, 87);
		fd_compositeNom.right = new FormAttachment(0, 366);
		compositeNom.setLayoutData(fd_compositeNom);
		compositeNom.setBackgroundImage(Utils.getImage(Utils.IMG_LOGO));

		lblInfoUser = new Label(compositePrincipalOverviewProduct, SWT.NONE);
		lblInfoUser.setAlignment(SWT.RIGHT);
		lblInfoUser.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblInfoUser.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		FormData fd_lblInfoUser = new FormData();
		fd_lblInfoUser.left = new FormAttachment(compositeNom, 161);
		fd_lblInfoUser.right = new FormAttachment(100, -10);
		lblInfoUser.setBackground(Utils.COLOR_BAR_1);
		lblInfoUser.setLayoutData(fd_lblInfoUser);

		tabFolderOverviewProduct = new TabFolder(shell, SWT.NONE);
		tabFolderOverviewProduct.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		FormData fd_tabFolderOverviewProduct = new FormData();
		fd_tabFolderOverviewProduct.top = new FormAttachment(compositePrincipalOverviewProduct, 6);

		BackOverviewProduct = new Label(compositePrincipalOverviewProduct, SWT.NONE);
		BackOverviewProduct.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		BackOverviewProduct.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		FormData fd_BackOverviewProduct = new FormData();
		fd_BackOverviewProduct.bottom = new FormAttachment(100, -12);
		fd_BackOverviewProduct.left = new FormAttachment(compositeNom, 6);
		BackOverviewProduct.setLayoutData(fd_BackOverviewProduct);
		BackOverviewProduct.setText("Back to Home");
		BackOverviewProduct.setBackground(Utils.COLOR_BAR_2);

		linkProfile = new Label(compositePrincipalOverviewProduct, SWT.NONE);
		fd_lblInfoUser.bottom = new FormAttachment(100, -58);
		linkProfile.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		linkProfile.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		FormData fd_linkProfile = new FormData();
		fd_linkProfile.top = new FormAttachment(lblInfoUser, 6);
		linkProfile.setLayoutData(fd_linkProfile);
		linkProfile.setText("Profile");
		linkProfile.setBackground(Utils.COLOR_BAR_1);

		linkLogout = new Label(compositePrincipalOverviewProduct, SWT.NONE);
		fd_linkProfile.right = new FormAttachment(linkLogout, 0, SWT.RIGHT);
		linkLogout.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		linkLogout.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		FormData fd_linkLogout = new FormData();
		fd_linkLogout.bottom = new FormAttachment(compositeNom, 0, SWT.BOTTOM);
		linkLogout.setLayoutData(fd_linkLogout);
		linkLogout.setText("Sign out");
		linkLogout.setBackground(Utils.COLOR_BAR_1);

		composite_logout = new Composite(compositePrincipalOverviewProduct, SWT.NONE);
		fd_linkLogout.right = new FormAttachment(composite_logout, -6);
		composite_logout.setBackground(SWTResourceManager.getColor(29, 126, 168));
		FormData fd_composite_logout = new FormData();
		fd_composite_logout.top = new FormAttachment(compositeNom, -17);
		fd_composite_logout.left = new FormAttachment(100, -30);
		fd_composite_logout.right = new FormAttachment(100, -10);
		fd_composite_logout.bottom = new FormAttachment(compositeNom, 0, SWT.BOTTOM);
		composite_logout.setLayoutData(fd_composite_logout);
		Utils.addTransparentImage(Utils.getImage(Utils.IMG_LOGOUT), composite_logout);
		composite_logout.setBackground(Utils.COLOR_BAR_1);

		composite_profile = new Composite(compositePrincipalOverviewProduct, SWT.NONE);
		composite_profile.setBackground(SWTResourceManager.getColor(29, 126, 168));
		FormData fd_composite_profile = new FormData();
		fd_composite_profile.top = new FormAttachment(linkProfile, -17);
		fd_composite_profile.left = new FormAttachment(lblInfoUser, -20);
		fd_composite_profile.bottom = new FormAttachment(linkProfile, 0, SWT.BOTTOM);
		fd_composite_profile.right = new FormAttachment(lblInfoUser, 0, SWT.RIGHT);
		composite_profile.setLayoutData(fd_composite_profile);
		Utils.addTransparentImage(Utils.getImage(Utils.IMG_PROFILE), composite_profile);
		composite_profile.setBackground(Utils.COLOR_BAR_1);
		fd_tabFolderOverviewProduct.bottom = new FormAttachment(100, -10);
		fd_tabFolderOverviewProduct.left = new FormAttachment(0, 10);
		fd_tabFolderOverviewProduct.right = new FormAttachment(0, 836);
		tabFolderOverviewProduct.setLayoutData(fd_tabFolderOverviewProduct);

		// Creation des items du tabFolder
		TabItem tabOverviewOverviewProduct = new TabItem(tabFolderOverviewProduct, SWT.NULL);
		tabOverviewOverviewProduct.setText("Overview");
		tabOverviewOverviewProduct.setImage(Utils.getImage(Utils.IMG_DASHBOARD));

		compositeGrpOverviewProduct = new Composite(tabFolderOverviewProduct, SWT.NONE);
		tabOverviewOverviewProduct.setControl(compositeGrpOverviewProduct);
		compositeGrpOverviewProduct.setLayout(new FillLayout(SWT.HORIZONTAL));

		// Groupbox Overview
		grpOverviewProduct = new Group(compositeGrpOverviewProduct, SWT.NONE);
		grpOverviewProduct.setFont(SWTResourceManager.getFont("Arial", 18, SWT.NORMAL));
		grpOverviewProduct.setText("Overview");
		grpOverviewProduct.setLayout(null);

		compositeSummaryOverviewProduct = new Composite(grpOverviewProduct, SWT.NONE);
		compositeSummaryOverviewProduct.setBounds(13, 27, 0, 0);
		compositeSummaryOverviewProduct.setLayout(new FormLayout());

		composite_1 = new Composite(grpOverviewProduct, SWT.BORDER);
		composite_1.setBounds(271, 36, 523, 196);
		composite_1.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		composite_1.setLayout(null);

		lblRecentSprints = new Label(composite_1, SWT.NONE);
		lblRecentSprints.setBounds(129, 10, 283, 25);
		lblRecentSprints.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblRecentSprints.setFont(SWTResourceManager.getFont("Arial", 16, SWT.NORMAL));
		lblRecentSprints.setText("Recent Sprints for this project");

		composite_2 = new Composite(grpOverviewProduct, SWT.BORDER);
		composite_2.setBounds(13, 238, 250, 214);
		composite_2.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));

		lblTodo = new Label(composite_2, SWT.NONE);
		lblTodo.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblTodo.setFont(SWTResourceManager.getFont("Arial", 16, SWT.NORMAL));
		lblTodo.setBounds(100, 12, 67, 31);
		lblTodo.setText("To-Do");

		composite_3 = new Composite(grpOverviewProduct, SWT.BORDER);
		composite_3.setBounds(269, 238, 252, 214);
		composite_3.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));

		tableViewerToDoOverview = new TableViewer(composite_2, SWT.BORDER | SWT.FULL_SELECTION);
		tableToDoOverview = tableViewerToDoOverview.getTable();
		tableToDoOverview.setHeaderVisible(true);
		tableToDoOverview.setLinesVisible(true);
		tableToDoOverview.setBounds(10, 49, 226, 141);
		tableToDoOverview.setBounds(10, 49, 226, 122);

		tblclmnUserstory = new TableColumn(tableToDoOverview, SWT.NONE);
		tblclmnUserstory.setWidth(100);
		tblclmnUserstory.setText("Userstory");

		Composite compositeToDo = new Composite(composite_2, SWT.NONE);
		compositeToDo.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		compositeToDo.setBounds(62, 12, 32, 32);
		composite_3.setLayout(null);
		Utils.addTransparentImage(Utils.getImage(Utils.IMG_TODO), compositeToDo);

		btnToDo = new Button(composite_2, SWT.NONE);
		btnToDo.setBounds(10, 177, 60, 25);
		btnToDo.setText("View all");
		;

		Label lblInProgress = new Label(composite_3, SWT.NONE);
		lblInProgress.setBounds(83, 10, 118, 25);
		lblInProgress.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblInProgress.setFont(SWTResourceManager.getFont("Arial", 16, SWT.NORMAL));
		lblInProgress.setText("In Progress");

		Composite composite_4 = new Composite(grpOverviewProduct, SWT.BORDER);
		composite_4.setBounds(537, 238, 257, 214);
		composite_4.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));

		compositeRecent = new Composite(composite_1, SWT.NONE);
		compositeRecent.setBounds(90, 10, 33, 33);
		compositeRecent.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		Utils.addTransparentImage(Utils.getImage(Utils.IMG_RECENT), compositeRecent);

		tableViewerRecentSprintOverviewProduct = new TableViewer(composite_1, SWT.BORDER | SWT.FULL_SELECTION);
		tableRecentSprintOverviewProduct = tableViewerRecentSprintOverviewProduct.getTable();
		tableRecentSprintOverviewProduct.setLinesVisible(true);
		tableRecentSprintOverviewProduct.setHeaderVisible(true);
		tableRecentSprintOverviewProduct.setBounds(10, 54, 501, 128);

		TableViewerColumn tableViewerColumn = new TableViewerColumn(tableViewerRecentSprintOverviewProduct, SWT.NONE);
		TableColumn tblclmnSprint = tableViewerColumn.getColumn();
		tblclmnSprint.setWidth(100);
		tblclmnSprint.setText("Sprint");

		tableViewerInProgressOverview = new TableViewer(composite_3, SWT.BORDER | SWT.FULL_SELECTION);
		tableInProgressOverview = tableViewerInProgressOverview.getTable();
		tableInProgressOverview.setHeaderVisible(true);
		tableInProgressOverview.setBounds(10, 47, 228, 141);
		tableInProgressOverview.setBounds(10, 47, 228, 122);
		tableInProgressOverview.setLinesVisible(true);

		tblclmnUserstory_1 = new TableColumn(tableInProgressOverview, SWT.NONE);
		tblclmnUserstory_1.setWidth(100);
		tblclmnUserstory_1.setText("Userstory");

		compositeInProgress = new Composite(composite_3, SWT.NONE);
		compositeInProgress.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		compositeInProgress.setBounds(44, 10, 33, 31);
		compositeInProgress.setLayout(new FormLayout());
		Utils.addTransparentImage(Utils.getImage(Utils.IMG_INPROGRESS), compositeInProgress);

		btnInProgress = new Button(composite_3, SWT.NONE);
		btnInProgress.setText("View all");
		btnInProgress.setBounds(10, 175, 60, 25);

		Label lblDoneOverview = new Label(composite_4, SWT.NONE);
		lblDoneOverview.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblDoneOverview.setFont(SWTResourceManager.getFont("Arial", 16, SWT.NORMAL));
		lblDoneOverview.setBounds(111, 10, 50, 24);
		lblDoneOverview.setText("Done");

		tableViewerDoneOverview = new TableViewer(composite_4, SWT.BORDER | SWT.FULL_SELECTION);
		tableDoneOverview = tableViewerDoneOverview.getTable();
		tableDoneOverview.setHeaderVisible(true);
		tableDoneOverview.setLinesVisible(true);
		tableDoneOverview.setBounds(10, 51, 233, 141);
		tableDoneOverview.setBounds(10, 51, 233, 120);

		tblclmnUserstory_2 = new TableColumn(tableDoneOverview, SWT.NONE);
		tblclmnUserstory_2.setWidth(100);
		tblclmnUserstory_2.setText("Userstory");

		compositeDone = new Composite(composite_4, SWT.NONE);
		compositeDone.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		compositeDone.setBounds(71, 10, 33, 32);
		Utils.addTransparentImage(Utils.getImage(Utils.IMG_DONE), compositeDone);

		btnDone = new Button(composite_4, SWT.NONE);
		btnDone.setText("View all");
		btnDone.setBounds(10, 177, 60, 25);

		Composite composite = new Composite(grpOverviewProduct, SWT.BORDER);
		composite.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		composite.setBounds(13, 36, 250, 196);

		Label label = new Label(composite, SWT.NONE);
		label.setText("Total Points :");
		label.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label.setBounds(10, 93, 108, 15);

		lblTotalPointSprint = new Label(composite, SWT.NONE);
		lblTotalPointSprint.setText("0");
		lblTotalPointSprint.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblTotalPointSprint.setBounds(124, 93, 114, 15);

		lblSprintsSummaryOverviewProduct = new Label(composite, SWT.NONE);
		lblSprintsSummaryOverviewProduct.setText("0");
		lblSprintsSummaryOverviewProduct.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblSprintsSummaryOverviewProduct.setBounds(124, 70, 114, 17);

		Label label_3 = new Label(composite, SWT.NONE);
		label_3.setText("Total Sprints :");
		label_3.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label_3.setBounds(10, 70, 108, 17);

		Composite composite_5 = new Composite(composite, SWT.NONE);
		composite_5.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		composite_5.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		composite_5.setBounds(64, 10, 32, 32);
		Utils.addTransparentImage(Utils.getImage(Utils.IMG_SUMMARY), composite_5);

		Label label_4 = new Label(composite, SWT.NONE);
		label_4.setText("Summary");
		label_4.setFont(SWTResourceManager.getFont("Arial", 16, SWT.NORMAL));
		label_4.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label_4.setBounds(99, 17, 96, 25);

		TabItem tabOverviewProductbacklogOverviewProduct = new TabItem(tabFolderOverviewProduct, SWT.NULL);
		tabOverviewProductbacklogOverviewProduct.setText("Product backlog");
		tabOverviewProductbacklogOverviewProduct.setImage(Utils.getImage(Utils.IMG_DASHBOARD));

		compositeBacklog = new Composite(tabFolderOverviewProduct, SWT.NONE);
		tabOverviewProductbacklogOverviewProduct.setControl(compositeBacklog);

		grpBacklog = new Group(compositeBacklog, SWT.NONE);
		grpBacklog.setFont(SWTResourceManager.getFont("Ubuntu", 18, SWT.NORMAL));
		grpBacklog.setText("Backlog");
		grpBacklog.setBounds(10, 10, 802, 440);

		tableViewerBacklog = new TableViewer(grpBacklog, SWT.BORDER | SWT.FULL_SELECTION);
		tableBacklog = tableViewerBacklog.getTable();
		tableBacklog.setLinesVisible(true);
		tableBacklog.setHeaderVisible(true);
		tableBacklog.setBounds(10, 40, 390, 370);

		tableViewerColumnStatus = new TableViewerColumn(tableViewerBacklog, SWT.NONE);
		tblclmnStatus = tableViewerColumnStatus.getColumn();
		tblclmnStatus.setWidth(100);
		tblclmnStatus.setText("Status");

		composite_6 = new Composite(grpBacklog, SWT.NONE);
		composite_6.setBounds(406, 40, 386, 370);
		composite_6.setBackground(Utils.COLOR_BAR_1);

		Label lblUserstoryName = new Label(composite_6, SWT.NONE);
		lblUserstoryName.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblUserstoryName.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		lblUserstoryName.setBounds(10, 27, 129, 21);
		lblUserstoryName.setText("UserStory name :");
		lblUserstoryName.setBackground(Utils.COLOR_BAR_1);

		txtNom = new Text(composite_6, SWT.BORDER);
		txtNom.setBounds(145, 24, 193, 21);

		Label lblDescription = new Label(composite_6, SWT.NONE);
		lblDescription.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		lblDescription.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblDescription.setBounds(10, 54, 129, 21);
		lblDescription.setText("Description : ");
		lblDescription.setBackground(Utils.COLOR_BAR_1);

		txtDescription = new Text(composite_6, SWT.MULTI | SWT.BORDER | SWT.WRAP | SWT.V_SCROLL);
		txtDescription.setBounds(145, 51, 193, 67);

		lblSprint = new Label(composite_6, SWT.NONE);
		lblSprint.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		lblSprint.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblSprint.setBounds(10, 148, 89, 21);
		lblSprint.setText("Sprint : ");
		lblSprint.setBackground(Utils.COLOR_BAR_1);

		lblPointsAttribu = new Label(composite_6, SWT.NONE);
		lblPointsAttribu.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		lblPointsAttribu.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblPointsAttribu.setBounds(10, 192, 109, 15);
		lblPointsAttribu.setText("Points awarded :");
		lblPointsAttribu.setBackground(Utils.COLOR_BAR_1);

		lblPriority = new Label(composite_6, SWT.NONE);
		lblPriority.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		lblPriority.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblPriority.setBounds(10, 231, 55, 15);
		lblPriority.setText("Priority :");
		lblPriority.setBackground(Utils.COLOR_BAR_1);

		txtPtAwarded = new Text(composite_6, SWT.BORDER);
		txtPtAwarded.setBounds(145, 186, 129, 21);

		txtPriority = new Text(composite_6, SWT.BORDER);
		txtPriority.setBounds(145, 225, 129, 21);

		Composite composite_7 = new Composite(composite_6, SWT.NONE);
		composite_7.setBackground(SWTResourceManager.getColor(24, 91, 138));
		composite_7.setBounds(22, 312, 354, 48);

		btnValider = new Button(composite_7, SWT.NONE);

		btnValider.setText("Valider");
		btnValider.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		btnValider.setBackground(SWTResourceManager.getColor(24, 91, 138));
		btnValider.setBounds(159, 10, 168, 27);

		comboViewerSprints = new ComboViewer(composite_6, SWT.NONE);
		Combo cmbSprint = comboViewerSprints.getCombo();
		cmbSprint.setBounds(145, 140, 129, 29);

		ToolBar toolBarUserStory = new ToolBar(grpBacklog, SWT.FLAT | SWT.RIGHT);
		toolBarUserStory.setBounds(0, 416, 400, 23);

		tltmAddUserstory = new ToolItem(toolBarUserStory, SWT.NONE);
		tltmAddUserstory.setText("Add UserStory");
		tltmAddUserstory.setImage(Utils.getImage(Utils.IMG_ADD));

		tltmModifieUserstory = new ToolItem(toolBarUserStory, SWT.NONE);
		tltmModifieUserstory.setEnabled(false);
		tltmModifieUserstory.setText("Edit UserStory");
		tltmModifieUserstory.setImage(Utils.getImage(Utils.IMG_EDIT));

		tltmRemoveUserStory = new ToolItem(toolBarUserStory, SWT.NONE);
		tltmRemoveUserStory.setEnabled(false);
		tltmRemoveUserStory.setText("Remove");
		tltmRemoveUserStory.setImage(Utils.getImage(Utils.IMG_DEL));

	}

	public Composite getComposite_6() {
		return composite_6;
	}

	public TableViewerColumn getTableViewerColumnStatus() {
		return tableViewerColumnStatus;
	}

	public Group getGrpBacklog() {
		return grpBacklog;
	}

	public ComboViewer getComboViewerSprints() {
		return comboViewerSprints;
	}

	public ToolItem getTltmRemoveUserStory() {
		return tltmRemoveUserStory;
	}

	public ToolItem getTltmModifieUserstory() {
		return tltmModifieUserstory;
	}

	public Button getBtnDone() {
		return btnDone;
	}

	public Button getBtnInProgress() {
		return btnInProgress;
	}

	public Label getLblTotalPointSprint() {
		return lblTotalPointSprint;
	}

	public Button getBtnValider() {
		return btnValider;
	}

	public ToolItem getTltmAddUserstory() {
		return tltmAddUserstory;
	}

	public Table getTableBacklog() {
		return tableBacklog;
	}

	public TabFolder getTabFolderOverviewProduct() {
		return tabFolderOverviewProduct;
	}

	public void setTabFolderOverviewProduct(TabFolder tabFolderOverviewProduct) {
		this.tabFolderOverviewProduct = tabFolderOverviewProduct;
	}

	public Button getBtnToDo() {
		return btnToDo;
	}

	public TableViewer getTableViewerBacklog() {
		return tableViewerBacklog;
	}

	public Group getGrpOverviewProduct() {
		return grpOverviewProduct;
	}

	public TableViewer getTableViewerRecentSprintOverviewProduct() {
		return tableViewerRecentSprintOverviewProduct;
	}

	public Label getBackOverviewProduct() {
		return BackOverviewProduct;
	}

	public TableViewer getTableViewerDoneOverview() {
		return tableViewerDoneOverview;
	}

	public TableViewer getTableViewerInProgressOverview() {
		return tableViewerInProgressOverview;
	}

	public TableViewer getTableViewerToDoOverview() {
		return tableViewerToDoOverview;
	}

	public Label getLblSummaryOverviewProduct() {
		return lblSprintsSummaryOverviewProduct;
	}

	public Label getLblInfoUser() {
		return lblInfoUser;
	}

	public Label getLinkProfile() {
		return linkProfile;
	}

	public Label getLinkLogout() {
		return linkLogout;
	}

	public Text getTxtNom() {
		return txtNom;
	}

	public Text getTxtDescription() {
		return txtDescription;
	}

	public Text getTxtPtAwarded() {
		return txtPtAwarded;
	}

	public Text getTxtPriority() {
		return txtPriority;
	}

	public Shell getShell() {
		return shell;
	}

	public void close() {
		shell.dispose();

	}
}
